package demo11.service;



import demo11.mapper.UserMpper;
import demo11.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMpper userMpper;


    @Override
    public void addUser(User user) {
        userMpper.adduser(user);
    }
}
